import Vue from 'vue';
import Router from 'vue-router';
import Default from '@/components/Default';
import Home from '@/views/Home';
import PublicList from '@/views/PublicList';
import Test from '@/views/Test';

Vue.use(Router);

export default new Router({
  mode: 'hash',
  routes: [
    {
      path: '/default',
      name: 'Default',
      component: Default
    },
    // {
    //   path: '/',
    //   name: 'Home',
    //   component: Home
    // },
    {
      path: '/',
      name: 'Publiclist',
      component: PublicList
    },
    {
      path: '/test',
      name: 'Test',
      component: Test
    }
  ]
})
